package com.example.domain;

import java.util.HashSet;
import java.util.Set;

/**
 * Created by xiaoyuan on 2017/11/30.
 */
public class Grade {

    private Long id;
    private String name;//年级
    private String floor;//楼层
    private Set<Student> students = new HashSet<Student>();

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getFloor() {
        return floor;
    }

    public void setFloor(String floor) {
        this.floor = floor;
    }

    public Set<Student> getStudents() {
        return students;
    }

    public void setStudents(Set<Student> students) {
        this.students = students;
    }
}
